home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / tool chest / development kits / hypercard related / xcmds & xfcns / apple event xcmds 1.0b3 / apple event xcmds b3 / background_6588.xml < prev    next >
Encoding:
Extensible Markup Language  |  1993-04-14  |  8.8 KB  |  264 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>6588</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_5101.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3179.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <false /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <true /> </lockText>
  21.         <rect>
  22.             <left>10</left>
  23.             <top>59</top>
  24.             <right>502</right>
  25.             <bottom>285</bottom>
  26.         </rect>
  27.         <style>scrolling</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>left</textAlign>
  36.         <font>Helvetica</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <textHeight>16</textHeight>
  40.         <name>info</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>5</id>
  45.         <type>button</type>
  46.         <visible> <true /> </visible>
  47.         <reserved5> 0 </reserved5>
  48.         <reserved4> 0 </reserved4>
  49.         <reserved3> 0 </reserved3>
  50.         <reserved2> 0 </reserved2>
  51.         <reserved1> 0 </reserved1>
  52.         <enabled> <true /> </enabled>
  53.         <rect>
  54.             <left>130</left>
  55.             <top>295</top>
  56.             <right>196</right>
  57.             <bottom>341</bottom>
  58.         </rect>
  59.         <style>transparent</style>
  60.         <showName> <true /> </showName>
  61.         <highlight> <false /> </highlight>
  62.         <autoHighlight> <true /> </autoHighlight>
  63.         <sharedHighlight> <true /> </sharedHighlight>
  64.         <family>0</family>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>26235</icon>
  67.         <textAlign>center</textAlign>
  68.         <font>Chicago</font>
  69.         <textSize>12</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <name>About XCMDs</name>
  72.         <script>On MouseWithin
  73. ShowBalloon "Click here for information about the XCMDs, XFCNs and HyperTalk Handlers" ¬¨
  74. & " that you can use with Apple Events."
  75. End MouseWithin
  76.  
  77. on mouseUp
  78. visual dissolve
  79. go to card id 7137
  80. end mouseUp
  81.  
  82. </script>
  83.     </part>
  84.     <part>
  85.         <id>8</id>
  86.         <type>button</type>
  87.         <visible> <true /> </visible>
  88.         <reserved5> 0 </reserved5>
  89.         <reserved4> 0 </reserved4>
  90.         <reserved3> 0 </reserved3>
  91.         <reserved2> 0 </reserved2>
  92.         <reserved1> 0 </reserved1>
  93.         <enabled> <true /> </enabled>
  94.         <rect>
  95.             <left>431</left>
  96.             <top>295</top>
  97.             <right>504</right>
  98.             <bottom>342</bottom>
  99.         </rect>
  100.         <style>transparent</style>
  101.         <showName> <true /> </showName>
  102.         <highlight> <false /> </highlight>
  103.         <autoHighlight> <true /> </autoHighlight>
  104.         <sharedHighlight> <true /> </sharedHighlight>
  105.         <family>0</family>
  106.         <titleWidth>0</titleWidth>
  107.         <icon>25875</icon>
  108.         <textAlign>center</textAlign>
  109.         <font>Chicago</font>
  110.         <textSize>12</textSize>
  111.         <textStyle>plain</textStyle>
  112.         <name>√Ü Applications</name>
  113.         <script>On MouseWithin
  114. ShowBalloon "Click here to view a list of applications which you can" ¬¨
  115. & " send Apple Events to."
  116. End MouseWithin
  117.  
  118. on mouseUp
  119. visual dissolve
  120. go to card id 8694
  121. end mouseUp
  122.  
  123. </script>
  124.     </part>
  125.     <part>
  126.         <id>9</id>
  127.         <type>button</type>
  128.         <visible> <true /> </visible>
  129.         <reserved5> 0 </reserved5>
  130.         <reserved4> 0 </reserved4>
  131.         <reserved3> 0 </reserved3>
  132.         <reserved2> 0 </reserved2>
  133.         <reserved1> 0 </reserved1>
  134.         <enabled> <true /> </enabled>
  135.         <rect>
  136.             <left>0</left>
  137.             <top>294</top>
  138.             <right>60</right>
  139.             <bottom>342</bottom>
  140.         </rect>
  141.         <style>transparent</style>
  142.         <showName> <true /> </showName>
  143.         <highlight> <false /> </highlight>
  144.         <autoHighlight> <true /> </autoHighlight>
  145.         <sharedHighlight> <true /> </sharedHighlight>
  146.         <family>0</family>
  147.         <titleWidth>0</titleWidth>
  148.         <icon>6575</icon>
  149.         <textAlign>center</textAlign>
  150.         <font>Chicago</font>
  151.         <textSize>12</textSize>
  152.         <textStyle>plain</textStyle>
  153.         <name>Stack Info</name>
  154.         <script>On MouseWithin
  155. ShowBalloon "Click here to see a general introduction to this stack."
  156. End MouseWithin
  157.  
  158. on mouseUp
  159. visual dissolve
  160. go to card id 6659
  161. end mouseUp
  162.  
  163. </script>
  164.     </part>
  165.     <part>
  166.         <id>10</id>
  167.         <type>button</type>
  168.         <visible> <true /> </visible>
  169.         <reserved5> 0 </reserved5>
  170.         <reserved4> 0 </reserved4>
  171.         <reserved3> 0 </reserved3>
  172.         <reserved2> 0 </reserved2>
  173.         <reserved1> 0 </reserved1>
  174.         <enabled> <true /> </enabled>
  175.         <rect>
  176.             <left>200</left>
  177.             <top>295</top>
  178.             <right>292</right>
  179.             <bottom>341</bottom>
  180.         </rect>
  181.         <style>transparent</style>
  182.         <showName> <true /> </showName>
  183.         <highlight> <false /> </highlight>
  184.         <autoHighlight> <true /> </autoHighlight>
  185.         <sharedHighlight> <true /> </sharedHighlight>
  186.         <family>0</family>
  187.         <titleWidth>0</titleWidth>
  188.         <icon>13784</icon>
  189.         <textAlign>center</textAlign>
  190.         <font>Chicago</font>
  191.         <textSize>12</textSize>
  192.         <textStyle>plain</textStyle>
  193.         <name>About Glue Routines</name>
  194.         <script>On MouseWithin
  195. ShowBalloon "Click here to see how to use appliction specific handlers to talk to" ¬¨
  196. & "Apple Event aware applications."
  197. End MouseWithin
  198.  
  199. on mouseUp
  200. visual dissolve
  201. go to card id 7628
  202. end mouseUp
  203.  
  204. </script>
  205.     </part>
  206.     <part>
  207.         <id>12</id>
  208.         <type>field</type>
  209.         <visible> <true /> </visible>
  210.         <dontWrap> <false /> </dontWrap>
  211.         <dontSearch> <false /> </dontSearch>
  212.         <sharedText> <false /> </sharedText>
  213.         <fixedLineHeight> <false /> </fixedLineHeight>
  214.         <autoTab> <false /> </autoTab>
  215.         <lockText> <true /> </lockText>
  216.         <rect>
  217.             <left>5</left>
  218.             <top>22</top>
  219.             <right>346</right>
  220.             <bottom>46</bottom>
  221.         </rect>
  222.         <style>transparent</style>
  223.         <autoSelect> <false /> </autoSelect>
  224.         <showLines> <false /> </showLines>
  225.         <wideMargins> <false /> </wideMargins>
  226.         <multipleLines> <false /> </multipleLines>
  227.         <reservedFamily> 0 </reservedFamily>
  228.         <titleWidth>0</titleWidth>
  229.         <icon>0</icon>
  230.         <textAlign>left</textAlign>
  231.         <font>Helvetica</font>
  232.         <textSize>24</textSize>
  233.         <textStyle>outline</textStyle>
  234.         <textHeight>32</textHeight>
  235.         <name></name>
  236.         <script></script>
  237.     </part>
  238.     <part>
  239.         <id>13</id>
  240.         <type>button</type>
  241.         <visible> <true /> </visible>
  242.         <reserved5> 0 </reserved5>
  243.         <reserved4> 0 </reserved4>
  244.         <reserved3> 0 </reserved3>
  245.         <reserved2> 0 </reserved2>
  246.         <reserved1> 0 </reserved1>
  247.         <enabled> <true /> </enabled>
  248.         <rect>
  249.             <left>64</left>
  250.             <top>296</top>
  251.             <right>126</right>
  252.             <bottom>341</bottom>
  253.         </rect>
  254.         <style>transparent</style>
  255.         <showName> <true /> </showName>
  256.         <highlight> <false /> </highlight>
  257.         <autoHighlight> <true /> </autoHighlight>
  258.         <sharedHighlight> <true /> </sharedHighlight>
  259.         <family>0</family>
  260.         <titleWidth>0</titleWidth>
  261.         <icon>24694</icon>
  262.         <textAlign>center</textAlign>
  263.         <font>Chicago</font>
  264.         <textSize>12</textSize>
  265.         <textStyle>plain</textStyle>
  266.         <name>Instructions</name>
  267.         <script>On MouseWithin
  268. ShowBalloon "Click here for information about how to genering glue routines and how try out the Apple" ¬¨
  269. & " events supported by Apple Event aware applications."
  270. End MouseWithin
  271.  
  272. on mouseUp
  273. visual dissolve
  274. go to card id 8036
  275. end mouseUp
  276.  
  277. </script>
  278.     </part>
  279.     <part>
  280.         <id>14</id>
  281.         <type>button</type>
  282.         <visible> <true /> </visible>
  283.         <reserved5> 0 </reserved5>
  284.         <reserved4> 0 </reserved4>
  285.         <reserved3> 0 </reserved3>
  286.         <reserved2> 0 </reserved2>
  287.         <reserved1> 0 </reserved1>
  288.         <enabled> <true /> </enabled>
  289.         <rect>
  290.             <left>396</left>
  291.             <top>36</top>
  292.             <right>499</right>
  293.             <bottom>56</bottom>
  294.         </rect>
  295.         <style>shadow</style>
  296.         <showName> <true /> </showName>
  297.         <highlight> <false /> </highlight>
  298.         <autoHighlight> <true /> </autoHighlight>
  299.         <sharedHighlight> <true /> </sharedHighlight>
  300.         <family>0</family>
  301.         <titleWidth>0</titleWidth>
  302.         <icon>0</icon>
  303.         <textAlign>center</textAlign>
  304.         <font>Helvetica</font>
  305.         <textSize>12</textSize>
  306.         <textStyle>bold</textStyle>
  307.         <name>Print this Field</name>
  308.         <script>On MouseWithin
  309. ShowBalloon "Click here to print the information contained in the field below."
  310. End MouseWithin
  311.  
  312. on mouseUp
  313. print fld "info"
  314. end mouseUp</script>
  315.     </part>
  316.     <name></name>
  317.     <script>on openStack
  318. if the screenRect is "0,0,512,342" then set the loc of cd window to "0,0"
  319. if the userLevel < 5 then set the userLevel to 5
  320. if the systemVersion < "7.0" then -- Systems < 7.0 don't support Apple Events.
  321. answer "You must be running System 7.0 or later to send Apple Events‚Ñ¢"¬¨
  322. &&"from this stack."
  323. end if
  324. if the version < "2.1" then -- HyperCard < 2.1 doesn't support Apple Events.
  325. answer "HyperCard version 2.1 or later is required to use this stack."
  326. end if
  327. end openStack
  328.  
  329. on closeStack
  330. if the freesize of this stack > 32768 then
  331. get there is a menuItem "Compact Stack" of menu "File"
  332. if it then doMenu "Compact Stack"
  333. end if
  334. pass closeStack
  335. end closeStack
  336.  
  337. on resumeStack
  338. if the userLevel < 5 then set the userLevel to 5
  339. end resumeStack
  340.  
  341. on go
  342. HMRemoveBalloon -- Removes any vestigal balloons which may have
  343. pass go                          -- left from the "ShowBalloon" XCMD.
  344. end go
  345.  
  346. </script>
  347. </background>
  348.